﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NPipeline
{
    public class ProcessingException : StageException
    {
        private object stagedata;
        private PipelineState driverState;

        public object StageData { get { return stagedata; } }
        public PipelineState DriverState { get { return driverState; } }


        public ProcessingException(IStage source, String message,
                object stagedata, PipelineState driverState) :
                base(source, message)
        {
            this.stagedata = stagedata;
            this.driverState = driverState;
        }



    }
}
